package com.pig4cloud.pig.itinerary.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.itinerary.api.dto.TrItineraryAddDTO;
import com.pig4cloud.pig.itinerary.api.entity.TrItinerary;

public interface TrItineraryService  extends IService<TrItinerary> {


	IPage<TrItinerary> selectItineraryByCondition(Page page, String itineraryName, String createBy);


	Long addItineraryWithContent(TrItineraryAddDTO dto);

    int removeByItineraryId(Long itineraryId);

	boolean  removeByItineraryIds(Long[] itineraryIds);
}
